LearnPress\Models\Question\QuestionPostModel S

Total Complexity 36
Dependencies 8
Dependents 8
Total lines 270
Lines of code 139
Logical lines of code 84
Comment lines 86
Methods 14
Properties 3

Methods 14

Method Rating Maintainability Complexity Lines of code
get_question_obj_by_type()
A
53 8 23
get_template_by_type()
S
58 6 17
get_answer_option()
S
54 4 21
find()
S
57 4 17
create_default_answers()
S
58 2 16
get_type()
S
71 2 6
check_type_valid()
S
68 2 7
get_type_label()
S
67 2 8
get_types()
S
64 1 9
get_hint()
S
79 1 3
get_explanation()
S
79 1 3
get_mark()
S
79 1 3
get_default_answers()
S
82 1 3
random_value()
S
77 1 3